home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games Extra 1996 September / Amiga Games Extra CD-ROM 9-1996.iso / userbox / publicdomain / vim-4.2 / src / makefile.arch < prev    next >
Makefile  |  1996-05-29  |  3KB  |  144 lines

  1. #
  2. # Makefile for Vim on Acorn Archimedes, using gcc and UnixLib
  3. #
  4.  
  5. MACHINE = -DARCHIE
  6.  
  7. ### gcc on the Arc.
  8. CC=gcc
  9.  
  10. ### Name of target
  11. TARGET = vim
  12.  
  13. ### See makefile.txt for a list of defines that can be included
  14.  
  15. # To keep the command line down, all the defs have gone into
  16. # the macro file "defs"
  17. DEFS = -include defs -O2
  18.  
  19. #>>>>> link with termlib or termcap only if HAVE_TGETENT is defined
  20. ### default
  21. LIBS =
  22.  
  23. #>>>>> end of choices
  24. ###########################################################################
  25.  
  26. CFLAGS = -c $(MACHINE) $(DEFS)
  27.  
  28. INCL = h.vim h.globals h.option h.keymap h.macros h.ascii h.term h.unix h.debug
  29.  
  30. OBJ =    o.alloc o.archie o.buffer o.charset o.cmdcmds o.cmdline o.csearch o.digraph \
  31.     o.edit o.fileio o.getchar o.help o.linefunc o.main o.mark o.memfile o.memline o.message o.misccmds \
  32.     o.normal o.ops o.option o.quickfix o.regexp o.regsub o.screen \
  33.     o.search o.tables o.tag o.term o.undo o.window
  34.  
  35. $(TARGET): $(OBJ) c.version
  36.     $(CC) $(CFLAGS) version.c
  37.     rename o.mkcmdtab tempfile
  38.     $(CC) -o $(TARGET) o.* $(LIBS)
  39.     rename tempfile o.mkcmdtab
  40.  
  41. ###########################################################################
  42.  
  43. o.alloc:    c.alloc  $(INCL)
  44.     $(CC) $(CFLAGS) alloc.c
  45.  
  46. o.archie:    c.archie  $(INCL) h.archie
  47.     $(CC) $(CFLAGS) archie.c
  48.  
  49. o.buffer:    c.buffer  $(INCL)
  50.     $(CC) $(CFLAGS) buffer.c
  51.  
  52. o.charset:    c.charset  $(INCL)
  53.     $(CC) $(CFLAGS) charset.c
  54.  
  55. o.cmdcmds:    c.cmdcmds  $(INCL)
  56.     $(CC) $(CFLAGS) cmdcmds.c
  57.  
  58. o.cmdline:    c.cmdline  $(INCL) h.cmdtab
  59.     $(CC) $(CFLAGS) cmdline.c
  60.  
  61. o.csearch:    c.csearch  $(INCL)
  62.     $(CC) $(CFLAGS) csearch.c
  63.  
  64. o.digraph:    c.digraph  $(INCL)
  65.     $(CC) $(CFLAGS) digraph.c
  66.  
  67. o.edit:    c.edit  $(INCL)
  68.     $(CC) $(CFLAGS) edit.c
  69.  
  70. o.fileio:    c.fileio  $(INCL)
  71.     $(CC) $(CFLAGS) fileio.c
  72.  
  73. o.getchar:    c.getchar  $(INCL)
  74.     $(CC) $(CFLAGS) getchar.c
  75.  
  76. o.help:    c.help  $(INCL)
  77.     $(CC) $(CFLAGS) help.c
  78.  
  79. o.linefunc:    c.linefunc  $(INCL)
  80.     $(CC) $(CFLAGS) linefunc.c
  81.  
  82. o.main:    c.main  $(INCL)
  83.     $(CC) $(CFLAGS) main.c
  84.  
  85. o.mark:    c.mark  $(INCL)
  86.     $(CC) $(CFLAGS) mark.c
  87.  
  88. o.memfile:    c.memfile  $(INCL)
  89.     $(CC) $(CFLAGS) memfile.c
  90.  
  91. o.memline:    c.memline  $(INCL)
  92.     $(CC) $(CFLAGS) memline.c
  93.  
  94. o.message:    c.message  $(INCL)
  95.     $(CC) $(CFLAGS) message.c
  96.  
  97. o.misccmds:    c.misccmds  $(INCL)
  98.     $(CC) $(CFLAGS) misccmds.c
  99.  
  100. o.normal:    c.normal  $(INCL) h.ops
  101.     $(CC) $(CFLAGS) normal.c
  102.  
  103. o.ops:    c.ops  $(INCL) h.ops
  104.     $(CC) $(CFLAGS) ops.c
  105.  
  106. o.option:    c.option  $(INCL)
  107.     $(CC) $(CFLAGS) option.c
  108.  
  109. o.quickfix:    c.quickfix  $(INCL)
  110.     $(CC) $(CFLAGS) quickfix.c
  111.  
  112. o.regexp:    c.regexp  $(INCL)
  113.     $(CC) $(CFLAGS) regexp.c
  114.  
  115. o.regsub:    c.regsub  $(INCL)
  116.     $(CC) $(CFLAGS) regsub.c
  117.  
  118. o.screen:    c.screen  $(INCL)
  119.     $(CC) $(CFLAGS) screen.c
  120.  
  121. o.search:    c.search  $(INCL)
  122.     $(CC) $(CFLAGS) search.c
  123.  
  124. o.tables:    c.tables  $(INCL)
  125.     $(CC) $(CFLAGS) tables.c
  126.  
  127. o.tag:    c.tag  $(INCL)
  128.     $(CC) $(CFLAGS) tag.c
  129.  
  130. o.term:    c.term  $(INCL)
  131.     $(CC) $(CFLAGS) term.c
  132.  
  133. o.undo:    c.undo  $(INCL)
  134.     $(CC) $(CFLAGS) undo.c
  135.  
  136. o.window:    c.window  $(INCL)
  137.     $(CC) $(CFLAGS) window.c
  138.  
  139. h.cmdtab: cmdtab mkcmdtab
  140.     mkcmdtab cmdtab h.cmdtab
  141.  
  142. mkcmdtab: o.mkcmdtab
  143.     $(CC) -o mkcmdtab mkcmdtab.o
  144.